﻿<?
    echo "<script type='text/javascript' src='js/jq.js'></script>";
    echo "<script type='text/javascript' src='js/scripts.js'></script>";
    if (!isset($_GET['id'])) {
        echo "Системная ошибка!";
        exit();
    } else {
        $id=$_GET['id'];
    }
    include 'bd.php';
    //echo $_GET['top'] + "<br>";
    $result = mysql_query("SELECT * FROM abon where id='$id'",$db); 
    $myrow = mysql_fetch_array($result); 
    echo "<center><strong>Ннформационный блок:</strong></center> <hr>";
    echo "ФИО: ";
    echo $myrow["fio"]; 
    echo "<br>";
    echo "IP адрес: ";
    echo $myrow["ip"];
   
?>
<? $title = $myrow["ip"]." // ".$myrow["fio"]; ?>
<ul>    
    <li><a href="javascript:snmp_get(<? echo $_GET['id']; ?>,<? $top_new =  $_GET['top'] +20;echo $top_new; ?>,<? echo $_GET['left']; ?>,'<? echo $title;  ?>');">Подробнее</a> </li>
    <li><a href="javascript:show_snmp_info();">SSH консоль</a></li>
    <li><a href='javascript:ping(<? echo $_GET['id']; ?>)'>PING</a></li>
</ul>